/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.uoc.tdp.pac4.comun;

import edu.uoc.tdp.pac4.beans.ClientVehicle;
import edu.uoc.tdp.pac4.beans.Peca;
import edu.uoc.tdp.pac4.beans.Solicitud;
import edu.uoc.tdp.pac4.beans.Stock;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

/**
 *
 * @author hphis
 */
public interface GestorAdministrativaInterface extends Remote {
   
    public ClientVehicle obtenerCliente(String nif) throws RemoteException, PAC4Exception;
    
    public void actualizarClienteVehiculo (ClientVehicle clientVehicle) throws RemoteException, PAC4Exception;
    
    public ClientVehicle insertarClienteVehiculo (ClientVehicle clientVehicle) throws RemoteException, PAC4Exception;
 
    public Solicitud obtenerSolicitud (int numSolicitud) throws RemoteException, PAC4Exception;
    
    public Solicitud actualizarSolicitud (Solicitud solicitud) throws RemoteException, PAC4Exception;
    
    public Solicitud insertarSolicitud (Solicitud solicitud) throws RemoteException, PAC4Exception;

    public ArrayList<Peca> obtenerPiezas () throws RemoteException, PAC4Exception;
    
    public ArrayList<Stock> obtenerStock (int idTaller) throws RemoteException, PAC4Exception;
    
    public void ActualizarStock(int codiPeca, int idTaller, int unidades) throws RemoteException, PAC4Exception;
}